function include(filename)
{
	var head = document.getElementsByTagName('head')[0];
	
	script = document.createElement('script');
	script.src = "js/" + filename;
	script.type = 'text/javascript';
	
	head.appendChild(script)
}

function includeCSS(filename)
{
	var head = document.getElementsByTagName('head')[0];
	
	script = document.createElement('link');
	script.rel = "stylesheet";
	script.href = "css/" + filename;
	script.type = 'text/css';
	
	head.appendChild(script);
}

if (typeof console === "undefined") {
    var names = ["log", "debug", "info", "warn", "error", "assert", "dir", "dirxml",
    "group", "groupEnd", "time", "timeEnd", "count", "trace", "profile", "profileEnd"];

    window.console = {};
    for (var i = 0; i < names.length; ++i)
        window.console[names[i]] = function() {}
}

// include("jquery/jquery-1.5.1.min.js");
include("jquery/jquery-ui-1.8.13.custom.min.js");
include("general.js");